package com.hit.userManageService;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;


@EnableDiscoveryClient//nacos注册
@EnableFeignClients
@ComponentScan(basePackages = "com.hit")//使用本module外的service_base,所以需要使用@ComponentScan标签
@SpringBootApplication
@MapperScan("com.hit.userManageService.mapper")
public class UserManageApplication {
    public static void main(String[] args) {
        SpringApplication.run(UserManageApplication.class);
    }
}
